//
//  MySqlite.h
//  FMdb
//
//  Created by 沈成才 on 15-4-27.
//  Copyright (c) 2015年 孙俊夫. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
@interface MySqlite : NSObject

+(FMDatabase *)openMySqlite:(NSString *)name;

+(BOOL)createTableWith:(NSString *)sql;

+(BOOL)createTableTeacher:(NSString *)sql;
+(BOOL)insertStuWithSql:(NSString *)sql;

+ (BOOL)insertTeaWithSql:(NSString *)sql;
+(NSMutableArray *)selectStuWitSql:(NSString *)sql;
+(NSMutableArray *)selectTeaWitSql:(NSString *)sql;
+(BOOL)deleteTableTea:(NSString *)sql;




@end
